﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPSystem.Common.Domains.Examineandapprove
{
    /// <summary>
    /// 流程设置表
    /// </summary>
    [SugarTable("Processsetup")]
    public class Processsetup
    {
        /// <summary>
        /// 流程设置ID
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int ProcesssetupId { get; set; }
        /// <summary>
        /// 流程名称
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)", IsNullable = true)]
        public string ProcesssetupName { get; set; }
        /// <summary>
        /// 审批级别
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int ProcesssetupLv { get; set; }
        /// <summary>
        /// 审批人ID
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string UserId { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public bool IsEnabled { get; set; }
        /// <summary>
        /// 审批前操作
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)", IsNullable = true)]
        public string Beforeapproval { get; set; }
        /// <summary>
        /// 审批后操作
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)", IsNullable = true)]
        public string Afterexamination  { get; set; }

    }
}
